﻿// code03050301.cpp : 指针
// 指针与迭代器

#include <iostream>
using namespace std;

int main()
{
    int arr[] = { 0,1,2,3,4,5,6,7,8,9 };
    int* p = arr;
    ++p;
    int* e = &arr[10];
    for (auto i=p;i!=e;++i)
    {
        cout << *i << " ";
    }
    cout << endl;
    return 0;
}

